import request from '@/utils/request'
// --------  分页查询 --------

let BASE_ADDRESS = '/base/messageTemp'

//  分页查询
export const getMessageTempListApi = (params) => {
    return request({
        url: `${BASE_ADDRESS}/list`,
        method: "get",
        params
    })
}
//  添加
export const getMessageTempAddApi = (data) => {
    return request({
        url: `${BASE_ADDRESS}/add`,
        method: "post",
        data
    })
}
// 修改
export const getMessageTempEditApi = (data) => {
    return request({
        url: `${BASE_ADDRESS}/edit`,
        method: "put",
        data
    })
}

//删除      
export const getMessageTempEditApi = (params) => {
    return request({
        url: `${BASE_ADDRESS}/remove${params}`,
        method: "delete",

    })
}